	.file	"echoserveri.c"
	.section	.rodata
.LC0:
	.string	"usage:%s <post>\n"
.LC1:
	.string	"Connected to (%s, %s)\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16560, %rsp
	movl	%edi, -16548(%rbp)
	movq	%rsi, -16560(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	cmpl	$2, -16548(%rbp)
	je	.L2
	movq	-16560(%rbp), %rax
	movq	(%rax), %rdx
	movq	stderr(%rip), %rax
	movl	$.LC0, %esi
	movq	%rax, %rdi
	movl	$0, %eax
	call	fprintf
	movl	$0, %edi
	call	exit
.L2:
	movq	-16560(%rbp), %rax
	addq	$8, %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	atoi
	movl	%eax, -16540(%rbp)
	movl	-16540(%rbp), %eax
	movl	%eax, %edi
	call	Open_listenfd
	movl	%eax, -16536(%rbp)
.L3:
	movl	$128, -16544(%rbp)
	leaq	-16544(%rbp), %rdx
	leaq	-16528(%rbp), %rcx
	movl	-16536(%rbp), %eax
	movq	%rcx, %rsi
	movl	%eax, %edi
	call	Accept
	movl	%eax, -16532(%rbp)
	movl	-16544(%rbp), %esi
	leaq	-8208(%rbp), %rcx
	leaq	-16400(%rbp), %rdx
	leaq	-16528(%rbp), %rax
	subq	$8, %rsp
	pushq	$0
	movl	$8192, %r9d
	movq	%rcx, %r8
	movl	$8192, %ecx
	movq	%rax, %rdi
	call	getnameinfo
	addq	$16, %rsp
	leaq	-8208(%rbp), %rdx
	leaq	-16400(%rbp), %rax
	movq	%rax, %rsi
	movl	$.LC1, %edi
	movl	$0, %eax
	call	printf
	leaq	-16400(%rbp), %rdx
	movl	-16532(%rbp), %eax
	movq	%rdx, %rsi
	movl	%eax, %edi
	call	echo
	movl	-16532(%rbp), %eax
	movl	%eax, %edi
	call	close
	jmp	.L3
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
.LC2:
	.string	"\n\345\256\242\346\210\267\347\253\257IP\357\274\232%s\n"
	.align 8
.LC3:
	.string	"\346\234\215\345\212\241\345\231\250\345\256\236\347\216\260\350\200\205\345\255\246\345\217\267\357\274\23220155225"
	.align 8
.LC4:
	.string	"\345\275\223\345\211\215\346\227\266\351\227\264\344\270\272\357\274\232%d/%d/%d %d:%d:%d\n"
	.text
	.globl	echo
	.type	echo, @function
echo:
.LFB3:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16464, %rsp
	movl	%edi, -16452(%rbp)
	movq	%rsi, -16464(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-16452(%rbp), %edx
	leaq	-16416(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	Rio_readinitb
	jmp	.L6
.L7:
	movq	-16464(%rbp), %rax
	movq	%rax, %rsi
	movl	$.LC2, %edi
	movl	$0, %eax
	call	printf
	movl	$.LC3, %edi
	call	puts
	leaq	-16440(%rbp), %rax
	movq	%rax, %rdi
	call	time
	leaq	-16440(%rbp), %rax
	movq	%rax, %rdi
	call	gmtime
	movq	%rax, -16424(%rbp)
	movq	-16424(%rbp), %rax
	movl	(%rax), %edx
	movq	-16424(%rbp), %rax
	movl	4(%rax), %r9d
	movq	-16424(%rbp), %rax
	movl	8(%rax), %r8d
	movq	-16424(%rbp), %rax
	movl	12(%rax), %eax
	movq	-16424(%rbp), %rcx
	movl	16(%rcx), %ecx
	leal	1(%rcx), %edi
	movq	-16424(%rbp), %rcx
	movl	20(%rcx), %ecx
	leal	1900(%rcx), %esi
	subq	$8, %rsp
	pushq	%rdx
	movl	%eax, %ecx
	movl	%edi, %edx
	movl	$.LC4, %edi
	movl	$0, %eax
	call	printf
	addq	$16, %rsp
.L6:
	leaq	-8208(%rbp), %rcx
	leaq	-16416(%rbp), %rax
	movl	$8192, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	Rio_readlineb
	movq	%rax, -16432(%rbp)
	cmpq	$0, -16432(%rbp)
	jne	.L7
	nop
	movq	-8(%rbp), %rax
	xorq	%fs:40, %rax
	je	.L8
	call	__stack_chk_fail
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	echo, .-echo
	.ident	"GCC: (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609"
	.section	.note.GNU-stack,"",@progbits
